package com.why.testapi;

import com.why.annotaion.RpcService;
import com.why.testbean.User;

import java.util.UUID;

/**
 * @program: why-rpc-framework
 * @description:
 * @author: @why
 * @create: 2021-03-15 21:32
 **/
@RpcService
public class HelloWorldImpl implements HelloWorld {
    @Override
    public String sayHelloWorld(User user) {

        System.out.println("Server say ：hello world!");
        return "歪比歪比:--->"+user + UUID.randomUUID().toString();
    }
}
